package com.aaa.entity;

import lombok.Data;
import org.apache.ibatis.annotations.Param;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * com.aaa.entity class
 *
 * @author Kevin Jia
 * @CLASS:BreakBattery
 * @Date:2018/12/22 14:50
 */
@Data
public class BreakBattery {
    /**主键id*/
    private String id;
    /**站点地址id*/
    private String pid;
    /**站点地址名称*/
    private String addName;
    /**坏电瓶数量*/
    private String batteryBreakCount;
    /**损坏时间*/
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**损坏原因*/
    private String breakReason;
    /**查询开始时间*/
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    /**查询结束时间*/
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
}
